import Dashboard from "../pages/dashboard/dashboard";
import DataPage from "../pages/dataPage/dataPage";
import ModelPage from "../pages/modelPage/modelPage";
import TestPage from "../pages/testPage/testPage";
import TrainPage from "../pages/trainPage/trainPage";

const routes = [
  {
    id: 1,
    text: "仪表盘",
    path: "/dashboard",
    icon: "Pressure.svg",
    component: <Dashboard></Dashboard>,
  },
  {
    id: 2,
    text: "模型管理",
    path: "/modelManage",
    icon: "Molecule.svg",
    component: <ModelPage></ModelPage>,
  },
  {
    id: 3,
    text: "数据管理",
    path: "/dataManage",
    icon: "Database.svg",
    component: <DataPage></DataPage>,
  },
  {
    id: 4,
    text: "算法训练",
    path: "/algTrain",
    icon: "Line_up.svg",
    component: <TrainPage></TrainPage>,
  },
  {
    id: 5,
    text: "算法测试",
    path: "/algTest",
    icon: "Flask_alt.svg",
    component: <TestPage></TestPage>,
  },
];

export default routes;
